package com.smart.seata.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "t_order")
public class Order {
    @TableId(value = "oid", type = IdType.ASSIGN_ID)
    private Long oid;

    @TableField(value = "order_no")
    private Long orderNo;

    @TableField(value = "`status`")
    private Integer status;

    public static final String COL_OID = "oid";

    public static final String COL_ORDER_NO = "order_no";

    public static final String COL_STATUS = "status";
}